package cn.com.service.hr;

import java.util.List;
import java.util.Map;

import cn.com.commons.Paginator;
import cn.com.dal.dataobject.hr.DeptDO;
import cn.com.support.message.MessageResult;

/**
 * 系统部门管理业务类
 * 
 * @since 2012-3-14 下午9:22:53
 * @version 1.0
 * @author Zoe
 */
public interface DeptService {

	/**
	 * SELECT BY PAGE
	 * @param paginator
	 * @return
	 */
	<C> Paginator<C, List<DeptDO>> selectByPage(
			Paginator<C, List<DeptDO>> paginator);

	/**
	 * INSERT
	 * @param deptDO
	 * @return
	 */
	MessageResult<Long> insert(DeptDO deptDO);

	MessageResult<Integer> updateById(DeptDO deptDO);
	
	MessageResult<Integer> deleteById(List<String> idLst);
	
	List<DeptDO> selectList(DeptDO deptDO);
	
	DeptDO selectById(Long id);
	
}
